using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LeadTracker.Models;

namespace LeadTracker.Models.Tests.Generated
{
	public partial class EditorModelTests
	{

		
		[TestMethod]
		public void UserName_PropertyNullTest()
		{
			var objectUnderTest = CreateObject();
			try
			{
				objectUnderTest.UserName = null;
				Assert.IsTrue(objectUnderTest.UserName == null || objectUnderTest.UserName == "");
			}
			catch (ArgumentNullException)
			{
				//OK
			}

		}
		
		[TestMethod]
		public void FirstName_PropertyNullTest()
		{
			var objectUnderTest = CreateObject();
			try
			{
				objectUnderTest.FirstName = null;
				Assert.IsTrue(objectUnderTest.FirstName == null || objectUnderTest.FirstName == "");
			}
			catch (ArgumentNullException)
			{
				//OK
			}

		}
		
		[TestMethod]
		public void LastName_PropertyNullTest()
		{
			var objectUnderTest = CreateObject();
			try
			{
				objectUnderTest.LastName = null;
				Assert.IsTrue(objectUnderTest.LastName == null || objectUnderTest.LastName == "");
			}
			catch (ArgumentNullException)
			{
				//OK
			}

		}
		
		[TestMethod]
		public void EmailAddress_PropertyNullTest()
		{
			var objectUnderTest = CreateObject();
			try
			{
				objectUnderTest.EmailAddress = null;
				Assert.IsTrue(objectUnderTest.EmailAddress == null || objectUnderTest.EmailAddress == "");
			}
			catch (ArgumentNullException)
			{
				//OK
			}

		}

	}
}
